package com.example.demo.service;

import com.example.demo.entity.Users;
import com.example.demo.vo.UsersVO;
import com.example.demo.vo.WuziVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/* 用户业务定义（功能）*/
public interface UsersService {

    int register(Users users);

    List<UsersVO> findAll();

    Users findByName(String name);

    int deleteByName(String name);

    int deleteById(Integer id);

    int update(Users users);

    Users findUsers(String username,String pwd);
}
